#include "stm32f10x.h"                  // Device header
#include "OLED.h"
#include "Timer.h"

int main(void)
{
	OLED_Init();
	Timer_init();
	OLED_ShowString(1, 1, "num:");
	OLED_ShowString(2, 1, "cnt:");
	
	while(1)
	{
		OLED_ShowNum(1, 5, num, 5);
		OLED_ShowNum(2, 5, TIM_GetCounter(TIM2), 5);
	}
}
